package org.gfix.binding;

import java.util.Collection;

import org.gfix.annotation.FixBinding;
import org.gfix.annotation.FixBindingSet;
import org.gfix.annotation.FixBound;
import org.gfix.annotation.FixFormatter;
import org.gfix.annotation.FixGroup;
import org.gfix.annotation.FixGroupSet;
import org.gfix.types.FixVersion;

public class NestedGroupsType 
{

	@FixBindingSet(fixBindings=
	{
		@FixBinding(fixVersion=FixVersion.FIX_44, fixTag=100,formatter=@FixFormatter)
	})
	private String nestedGroupsTypeBefore;
	
	@FixGroupSet( fixGroups =
	{
		@FixGroup(fixGroupTag=101, fixVersion=FixVersion.FIX_44)
	})
	@FixBound(javaType=SimpleRepeatingGroupParentType.class)
	private Collection<SimpleRepeatingGroupParentType> items;
	
	@FixBindingSet(fixBindings=
	{
		@FixBinding(fixVersion=FixVersion.FIX_44, fixTag=102,formatter=@FixFormatter)
	})
	private String nestedGroupsAfter;

	public String getNestedGroupsTypeBefore() {
		return nestedGroupsTypeBefore;
	}

	public void setNestedGroupsTypeBefore(String nestedGroupsTypeBefore) {
		this.nestedGroupsTypeBefore = nestedGroupsTypeBefore;
	}

	public Collection<SimpleRepeatingGroupParentType> getItems() {
		return items;
	}

	public void setItems(Collection<SimpleRepeatingGroupParentType> items) {
		this.items = items;
	}

	public String getNestedGroupsAfter() {
		return nestedGroupsAfter;
	}

	public void setNestedGroupsAfter(String nestedGroupsAfter) {
		this.nestedGroupsAfter = nestedGroupsAfter;
	}
	
}
